@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600&display=swap');

*{
    font-family: 'Montserrat';
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    background-color: #25D366; /* Color verde de WhatsApp */
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.whatsapp-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.whatsapp-link:hover::before {
    width: 0;
    height: 0;
}

.whatsapp-link:hover {
    background-color:rgb(247, 122, 122) ;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.1) rotate(-5deg);
}

.whatsapp-link span {
    position: relative;
    z-index: 1;
}

.whatsapp-icon {
    font-size: 24px;
    margin-right: 10px;
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .whatsapp-link {
        padding: 10px;
    }

    .whatsapp-icon {
        font-size: 20px;
    }

    .whatsapp-link span {
        display: none;
    }
}
/* Estilo de la barra de navegación */
.header {
    background-color: #333;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    position: fixed; /* Fija la barra de navegación en la parte superior */
    top: 0; /* Alinea la barra de navegación al borde superior */
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra sutil para distinguir el menú */
    z-index: 1000;
}

.logo img {
    height: 70px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

.nav-links a:hover {
    background-color: rgb(247, 122, 122);
    border-radius: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    background-color: #333;
    height: 3px;
    width: 25px;
    margin: 3px 0;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 70px; /* Ajusta la posición del menú desplegable para que esté debajo del logo */
        left: 0;
        padding: 10px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para el menú desplegable */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }
}
/*BIENVENIDO*/
#inicio {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../imagen/Untitled\ Design-min.jpeg);
    background-size: cover;
    background-position: center center;
    height: 100vh;
}

/* Estilo de la sección de bienvenida */
.hero-section .bienvenida {
    max-width: 1000px;
    height: 100vh;
    margin: auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
}

/* Animaciones para textos */
.hero-section .bienvenida p {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;

}

.hero-section .bienvenida h2 {
    font-size: 50px;
    margin-bottom: 20px;
    text-align: center;

}

.hero-section .bienvenida h2 span {
    font-size: 25px;
    color: rgb(247, 122, 122);
}

.hero-section .bienvenida .descripcion {
    max-width: 700px;
    margin: 25px auto;
    font-size: 18px;
    text-align: center;

}

.hero-section .bienvenida a {
    text-decoration: none;
    display: inline-block;
    margin: 20px;
    padding: 20px 25px;
    border: 2px solid #fff;
    border-radius: 50px;
    color: white;
    font-weight: bold;

}

.hero-section .bienvenida a:hover {
    background-color: rgb(247, 122, 122);
}


/* Media Queries */
@media (max-width: 768px) {
    .hero-section .bienvenida h2 {
        font-size: 35px;
    }

    .hero-section .bienvenida h2 span {
        font-size: 20px;
    }

    .hero-section .bienvenida .descripcion {
        font-size: 16px; /* Ajustar tamaño de fuente para pantallas medianas */
    }

    .hero-section .bienvenida a {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .hero-section .bienvenida h2 {
        font-size: 25px;
    }

    .hero-section .bienvenida h2 span {
        font-size: 18px;
    }

    .hero-section .bienvenida .descripcion {
        font-size: 14px; /* Tamaño de fuente para pantallas muy pequeñas */
    }

    .hero-section .bienvenida a {
        padding: 10px 15px;
    }
}
/* sobre mi*/
#sobremi {
    max-width: 1100px;
    margin: auto;
    padding: 100px 15px;
    color: #000;
    display: flex;
    flex-wrap: wrap; /* Añadido para permitir que los elementos se envuelvan */
}

#sobremi .contenedor-foto {
    max-width: 400px;
    margin-right: 80px;
    flex: 1; /* Añadido para hacer que el contenedor se ajuste */
}

#sobremi .contenedor-foto img {
    max-width: 100%;
    border-radius: 70%;
    padding: 20px;
    width: 120%;
    background-color: rgb(244, 244, 165);
}

#sobremi .sobremi {
    margin: 0 40px;
    flex: 2; /* Añadido para hacer que el contenedor se ajuste */
}

#sobremi .sobremi .titulo-seccion {
    font-size: 22px;
    text-transform: uppercase;
    color: #181717;
    text-decoration-color: #d3d3d3;
    text-decoration-thickness: 5px;
}

#sobremi .sobremi h2 {
    font-size: 34px;
    font-weight: bold;
    margin: 20px 0;
    letter-spacing: 2px;
}

#sobremi .sobremi h2 span {
    color: rgb(247, 122, 122);
}

#sobremi .sobremi h3 {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

#sobremi .sobremi p {
    font-size: 16px;
    line-height: 25px;
    color: #565656;
    margin-bottom: 12px;
    text-align: justify;
}

#sobremi .sobremi a {
    display: inline-block;
    text-decoration: none;
    color: #000;
    border-radius: 30px;
    border: 1px solid #000;
    padding: 10px 20px;
    margin-top: 30px;
    transition: .5s;
}

#sobremi .sobremi a:hover {
    background-color: rgb(247, 122, 122);
    color: #fff;
}

/* Media queries para diferentes dispositivos */
@media (max-width: 1024px) {
    #sobremi {
        padding: 80px 15px;
    }
    #sobremi .contenedor-foto {
        margin-right: 40px;
    }

    #sobremi .contenedor-foto img {
        max-width: 80%; /* Reduce el tamaño de la imagen */
        height: auto; /* Mantiene la proporción */
    }
}

@media (max-width: 768px) {
    #sobremi {
        flex-direction: column;
        align-items: center;
    }
    #sobremi .contenedor-foto {
        margin-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    #sobremi .contenedor-foto img {
        max-width: 70%; /* Reduce aún más el tamaño de la imagen */
        height: auto;
    }

    #sobremi .sobremi {
        margin: 0;
        text-align: center;
    }
    #sobremi .sobremi .titulo-seccion {
        font-size: 20px;
    }
    #sobremi .sobremi h2 {
        font-size: 28px;
    }
    #sobremi .sobremi h3 {
        font-size: 16px;
    }
    #sobremi .sobremi p {
        font-size: 13px;
        line-height: 22px;
        margin: 0 30px;
    }
}

@media (max-width: 480px) {
    #sobremi {
        padding: 60px 15px;
    }
    #sobremi .contenedor-foto img {
        max-width: 60%;
        padding: 10px;
        height: auto;
    }

    #sobremi .sobremi .titulo-seccion {
        font-size: 18px;
    }
    #sobremi .sobremi h2 {
        font-size: 24px;
    }
    #sobremi .sobremi h3 {
        font-size: 14px;
    }
    #sobremi .sobremi p {
        font-size: 14px;
        line-height: 20px;
        margin: 0 10px;
        
    }
    #sobremi .sobremi a {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/*experiencia*/
.section {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('../imagen/9366515-min.jpg') no-repeat center center fixed;
    background-size: cover;
    padding: 100px;
    color: white;
    text-align: center;
}

.section h1 {
    margin-bottom: 40px;
    font-size: 30px;
}

.section p {
    font-size: 16px;
    margin-bottom: 50px;
    line-height: 1.6;
    text-align: justify;
    padding: 0 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section.visible p {
    opacity: 1;
    transform: translateX(0);
}

.skills {
    max-width: 600px;
    margin: 0 auto;
}

.skill-bar {
    background-color: #ddd;
    border-radius: 25px;
    overflow: hidden;
    margin: 10px 0;
}

.skill-bar div {
    height: 20px;
    border-radius: 25px;
    text-align: center;
    line-height: 20px;
    color: #fff;
    font-weight: bold;
    transition: width 0.3s ease-in-out;
}

.html { width: 100%; background-color: rgb(247, 122, 122); }
.seo { width: 100%; background-color: #c899be; }
.wordpress { width: 95%; background-color: #99c8aa; }
.css { width: 90%; background-color: #6c73fa; }
.javascript { width: 80%; background-color: #fbb06b; }

/* Responsive Design */
@media (max-width: 1024px) {
    .section {
        padding: 60px 50px;
    }

    .section h1 {
        font-size: 28px;
    }

    .section p {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .skills {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 30px;
    }

    .section h1 {
        font-size: 24px;
    }

    .section p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .skills {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 20px;
    }

    .section h1 {
        font-size: 20px;
    }

    .section p {
        font-size: 13px;

    }

    .skills {
        max-width: 100%;
    }

    .skill-bar div {
        height: 18px; /* Reducir ligeramente la altura de las barras en pantallas pequeñas */
        line-height: 18px;
    }
}

/*portafolio*/
.portfolio-section {
    text-align: center;
    padding: 80px 100px;
    background-color: #ffff; 
}

.portfolio-section h1 {
    margin-bottom: 40px;
    font-size: 30px;
    color: #3b3b3b;
}

.portfolio-section p {
    font-size: 16px;
    margin-bottom: 50px;
    line-height: 1.6;
    text-align: justify;
    padding: 0 15px; 
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto; 
}

.codigo-nativo {
    display: flex;
    align-items: center;
    margin-bottom: 20px; /* Espacio antes de las imágenes del portafolio */
    justify-content: center; /* Centra el contenido horizontalmente */
}

.codigo-nativo h2 {
    font-size: 1.5rem; /* Tamaño de la letra */
    margin: 0; /* Eliminar el margen del h2 */
    padding-right: 10px; /* Espacio entre el título y el logo */
}

.codigo-nativo h2 span {
    color: rgb(247, 122, 122);
}

.logo-pequeno {
    width: 3.5rem; /* Tamaño del logo para que sea proporcional a la letra */
    height: auto; /* Mantener la proporción del logo */
}

.landing-pages {
    display: flex;
    align-items: center;
    justify-content: center; /* Centra el contenido horizontalmente */
    margin-top: 100px; /* Espacio después de las imágenes */
    margin-bottom: 50px; /* Espacio antes de las siguientes secciones */
    text-align: center;
}

.landing-pages h2 {
    font-size: 2.0rem;
    margin: 0;
    padding-right: 10px; /* Espacio entre el título y el logo */
}

.landing-pages h2 span {
    color: rgb(247, 122, 122);
}

.logo-pequeno {
    width: 4rem; /* Tamaño del logo similar al tamaño de la letra */
    height: auto;
}

.ecommerce {
    display: flex;
    align-items: center;
    justify-content: center; /* Alinea el contenido al centro del contenedor */
    margin-bottom: 50px; /* Espacio antes de las siguientes secciones */
    text-align: center;
    margin-top: 100px;
    width: 100%; /* Asegura que ocupe todo el ancho para centrarse mejor */
}

.ecommerce h2 {
    font-size: 2.0rem; /* Tamaño del título */
    margin: 0; /* Sin margen adicional para evitar desplazamientos */
    padding-right: 10px; /* Espacio entre el título y el logo */
}

.ecommerce h2 span {
    color: rgb(247, 122, 122);
}

.logo-pequeno {
    width: 3.5rem; /* Tamaño del logo para ser proporcional al título */
    height: auto;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.credits {
    font-size: 14px;
    color: #666;
}

.credits a {
    color: #555;
    text-decoration: none;
}

.item-info p {
    color: #666;
    font-size: 14px;
    text-align: left;
    margin: 0; /* Elimina márgenes por defecto */
}

.learn-more {
    display: inline-block;
    text-decoration: none;
    color: #000;
    border-radius: 30px;
    border: 1px solid #000;
    padding: 10px 20px;
    margin-top: 30px;
    transition: .5s;
}

.learn-more:hover {
    background-color: rgb(247, 122, 122);
    color: #fff;
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    .portfolio-section {
        padding: 60px 50px;
    }

    .portfolio-section h1 {
        font-size: 28px;
    }

    .portfolio-section p {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .image-grid {
        gap: 15px;
    }

    .learn-more {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 50px 30px;
    }

    .portfolio-section h1 {
        font-size: 24px;
    }

    .portfolio-section p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .learn-more {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .portfolio-section {
        padding: 40px 20px;
    }

    .portfolio-section h1 {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .portfolio-section p {
        font-size: 14px;
        margin-bottom: 20px;

    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .learn-more {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/*servicios*/

.services-section {
    background-color: rgb(244, 244, 165);
    padding: 50px 0; 
    background-size: cover;
    text-align: center;
}

.services-header {
    text-align: center; 
    margin-bottom: 30px;
    padding: 0 15px; 
}

.services-header h3 {
    margin-bottom: 50px;
    font-size: 30px;
    color: black;
}


.services-header p {
    font-size: 16px;
    margin-bottom: 50px;
    line-height: 1.6;
    text-align: justify;
    padding: 0 15px; 
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto; 
}

.services-sectiongrids {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
}

.services-grid {
    background: #fff; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    padding: 20px; 
    text-align: center; 
    flex: 1; 
    max-width: 30%; 
    background-color: #fbeee5;
}

.services-grid img {
    max-width: 50%; 
    height: auto; 
    border-radius: 8px; 
}

.services-grid h4 {
    font-size: 1.5em; /* Tamaño de fuente del encabezado del servicio */
    color: #333; /* Color del texto */
    margin: 15px 0; /* Espacio arriba y abajo del encabezado */
}

.services-grid p {
    font-size: 1em; /* Tamaño de fuente del párrafo */
    color: #666; /* Color del texto */
    line-height: 1.6; /* Espaciado entre líneas */
}

.arrow1 {
    text-align: center;
    margin-top: 30px; 
}

.arrow1 a {
    display: inline-block; 
}

.arrow1 img {
    width: 40px;
    height: auto; 
}

@media (max-width: 992px) {
    .services-grid {
        max-width: 45%; 
    }

    .services-header {
        padding: 0 20px; 
    }
}

@media (max-width: 768px) {
    .services-sectiongrids {
        flex-direction: column; 
        align-items: center;
    }

    .services-grid {
        max-width: 100%; 
        margin-bottom: 20px; 
    }

    .services-grid img {
        max-width: 40%; 
    }

    .services-header {
        padding: 0 15px; 
    }

    .services-header h3 {
        font-size: 24px; 
    }

    .services-header p {
        font-size: 14px; 
    }
}

@media (max-width: 480px) {
    .services-header h3 {
        font-size: 24px; 
    }

    .services-header p {
        font-size: 14px; 
        padding: 0 10px; 
    }

    .services-grid img {
        max-width: 30%; 
    }
}

/*contacto*/

#contacto{
    padding: 30px 15px;
}
form{
    background: lightpink;
    width: 640px;
    margin: 50px auto;
    max-width: 97%;
    border-radius: 4px;
    padding: 55px 30px;
  }
  
  form .title h2{
    letter-spacing: 6px;
    border-bottom: 1px solid white;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 32px;
  }
  
  form .half{
    display: flex;
    justify-content: space-between;
  }
  
  form .half .item{
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    width: 48%;
  }
  
  form label{
    display: block;
    font-size: 13px;
    letter-spacing: 3.5px;
    margin-bottom: 16px;
  }
  
  form .half .item input{
    border-radius: 4px;
    border: 1px solid white;
    outline: 0;
    padding: 16px;
    width: 100%;
    height: 44px;
    background: transparent;
    font-size: 17px;
  }
  
  form .full{
    margin-bottom: 24px;
  }
  
  form .full textarea{
    background: transparent;
    border-radius: 4px;
    border: 1px solid white;
    outline: 0;
    padding: 12px 16px;
    width: 100%;
    height: 200px;
    font-size: 17px;
  }
  
  form .action{
    margin-bottom: 32px;
  }
  
  form .action input{
    background: transparent;
    border-radius: 4px;
    border: 1px solid white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    height: 44px;
    letter-spacing: 3px;
    outline: 0;
    padding: 0 20px 0 22px;
    margin-right: 10px;
  }
  
  form .action input[type="submit"]{
    background: white;
    color: black;
  }
  
  form .icons a{
    border: 1px solid white;
    border-radius: 50%;
    line-height: 36px;
    text-align: center;
    font-weight: 600;
    width: 38px;
    margin-right: 10px;
  }
  
 
  @media (max-width: 480px){
    form .half{
      flex-direction: column;
    }
    form .half .item{
      width: 100%;
    }
    form .action{
      display: flex;
      flex-direction: column;
    }
    form .action input{
      margin-bottom: 10px;
      width: 100%;
    }
  }


/*footer*/

footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footerContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.footerLogo {
    margin-bottom: 20px; /* Espacio entre el logo y el resto del contenido */
}

.footerLogo img {
    height: 100px; /* Ajusta el tamaño según lo necesites */
    width: auto;
}

.socialIcons {
    margin-bottom: 20px;
}

.socialIcons a {
    color: white;
    font-size: 1.5em;
    margin: 0 10px;
    text-decoration: none;
}

.socialIcons a:hover {
    color: rgb(244, 244, 165);
}

.footerNav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footerNav ul li {
    margin: 0 10px;
}

.footerNav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1em;
}

.footerNav ul li a:hover {
    color: lightcoral;
}

.footerBottom {
    margin-top: 20px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .footerContainer {
        flex-direction: column;
    }

    .footerNav ul {
        flex-direction: column;
        align-items: center;
    }

    .footerNav ul li {
        margin: 5px 0;
    }
}